<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class Team extends Model
{
    protected $table = 'xyj_teams';
    
    public function teamMemberInfo(){
        return $this->hasOne('App\Models\Student' , 'user_id', 'team_member_id')->withTrashed();
    }
}
